package com.zc.manager.device.request;

import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;

/**
 * 设备消息计数请求类
 * 用于封装设备消息统计请求的相关参数
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class DeviceMessageCountRequest extends DeviceMetricsCountRequest {

    // 产品ID
    @NotNull(message = "产品ID不能为空")
    private String productId;

    // 消息类型
    private String msgType;

}

